package com.order.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface AdminDao {
    @Select("SELECT COUNT(*)>0 FROM admin where user=#{user} and pass=#{pass}")
    public Boolean login(String user,String pass);
}
